package com.edu.control.deploy;

import java.io.Serializable;

public class PodInfo implements Serializable {

    public int times = 0;

    private String functionName;

    private String version;

    private String namespace;

    private String podName;

    private String labels;

    private int expectNum = 0;

    private int otherExpectNum = 0;

    private Integer eventType;

    private String pathName = "";

    private PodResult lastPodResult;

    public String getPodName() {
        return podName;
    }

    public void setPodName(String podName) {
        this.podName = podName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public Integer getEventType() {
        return eventType;
    }

    public void setEventType(Integer eventType) {
        this.eventType = eventType;
    }

    public int getExpectNum() {
        return expectNum;
    }

    public void setExpectNum(int expectNum) {
        this.expectNum = expectNum;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName;
    }

    public PodResult getLastPodResult() {
        return lastPodResult;
    }

    public void setLastPodResult(PodResult lastPodResult) {
        this.lastPodResult = lastPodResult;
    }

    public int getOtherExpectNum() {
        return otherExpectNum;
    }

    public void setOtherExpectNum(int otherExpectNum) {
        this.otherExpectNum = otherExpectNum;
    }

    @Override
    public String toString() {
        return "PodInfo{" +
                "times=" + times +
                ", functionName='" + functionName + '\'' +
                ", version='" + version + '\'' +
                ", namespace='" + namespace + '\'' +
                ", podName='" + podName + '\'' +
                ", labels='" + labels + '\'' +
                ", expectNum=" + expectNum +
                ", otherExpectNum=" + otherExpectNum +
                ", eventType=" + eventType +
                ", pathName='" + pathName + '\'' +
                ", lastPodResult=" + lastPodResult +
                '}';
    }
}
